<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	var time = 10;
	function Redirect() {
		window.location = "../lyj/index.jsp";

	}
	var i=0;
	function dis() {
		document.all.s.innerHTML = "管理员添加成功" + (time - i) + "秒后,自动跳转";
		i++;
	}
	timer = setInterval('dis()', 1000); //显示时间
	timer = setTimeout('Redirect()', time * 1000);
</script>
</head>
<body>
	<h1 id="s" style="text-align: center;margin: 50px auto;"></h1>
</body>
</html>